package com.smooth.site.sx.mag.biz.job.enums;

public enum JobYearsEnums {
	
	oneyear(1, "0-1（年）"), 	
	twoyear(2 	, "1-3（年）"),	
	fiveyear(3 	, "3-5（年）"),	
	fouryear(4 	, "5-10（年）"),
	tenyear(5 	, "10年以上 "),
//	1 	私营 	
//	2 	国企 	
//	3 	中外合资 	
//	4 	外资
	;

	public Integer value;
	public String name;

	JobYearsEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static JobYearsEnums getStatus(Integer value) {
		if (value != null) {
			JobYearsEnums[] otypes = JobYearsEnums.values();
			for (JobYearsEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
